home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Development Tools & Languages / Dylan Related / Mindy / Mindy 1.2 - portable sources / libraries / random / library.dylan < prev    next >
Encoding:
Text File  |  1995-03-15  |  2.0 KB  |  66 lines  |  [TEXT/ttxt]

  1. module:     Dylan-User
  2. author:     dpierce@cs.cmu.edu
  3. synopsis:   This file defines the Gwydion random numbers library.
  4. copyright:  Copyright (C) 1994, Carnegie Mellon University.
  5.             All rights reserved.
  6. rcs-header: $Header: library.dylan,v 1.2 94/06/28 23:58:05 wlott Exp $
  7.  
  8. //======================================================================
  9. //
  10. // Copyright (c) 1994  Carnegie Mellon University
  11. // All rights reserved.
  12. // 
  13. // Use and copying of this software and preparation of derivative
  14. // works based on this software are permitted, including commercial
  15. // use, provided that the following conditions are observed:
  16. // 
  17. // 1. This copyright notice must be retained in full on any copies
  18. //    and on appropriate parts of any derivative works.
  19. // 2. Documentation (paper or online) accompanying any system that
  20. //    incorporates this software, or any part of it, must acknowledge
  21. //    the contribution of the Gwydion Project at Carnegie Mellon
  22. //    University.
  23. // 
  24. // This software is made available "as is".  Neither the authors nor
  25. // Carnegie Mellon University make any warranty about the software,
  26. // its performance, or its conformity to any specification.
  27. // 
  28. // Bug reports, questions, comments, and suggestions should be sent by
  29. // E-mail to the Internet address "gwydion-bugs@cs.cmu.edu".
  30. //
  31. //======================================================================
  32.  
  33. /* Dylan Random Number Library
  34.  
  35.    This file contains a library definition for the Random library.
  36.  
  37. */
  38.  
  39. // Random (Library) -- public
  40. // 
  41. define library Random
  42.    use Dylan;
  43.    export Random;
  44. end library Random;
  45.  
  46.  
  47. // Random (Module) -- public
  48. //
  49. define module Random
  50.    use Dylan;
  51.    export
  52.       <random-distribution>, random,
  53.  
  54.       <uniform-distribution>,
  55.       <unit-uniform-distribution>,
  56.       <real-uniform-distribution>,
  57.       <integer-uniform-distribution>,
  58.       <exponential-distribution>,
  59.       <normal-distribution>,
  60.  
  61.       *dylan-random-seed*, *dylan-random-distribution*,
  62.       random-uniform, seed-random!,
  63.  
  64.       chi-square;
  65. end module Random;
  66.